import { request, request2 } from '@/utils/http'
// import qs from 'qs'

export function getGasDetectionStatusapi (params) {
  return request({
    url: '/api/gasDetection/getGasDetectionStatus',
    method: 'GET',
    params
  })
}

export function getWellDetectionStatusApi (params) {
  return request({
    url: '/api/wellDetection/getWellDetectionStatus',
    method: 'GET',
    params
  })
}

export function getWellPageApi (params) {
  return request({
    url: '/api/wellDetection/page',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function getGasPageApi (params) {
  return request({
    url: '/api/gasDetection/page',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data:params
  })
}

export function getJobDataApi (params) {
  return request({
    url: '/api/jobTicket/getJobData',
    method: 'GET',
    params
  })
}
export function surveillancePointApi (params) {
  return request({
    url: '/api/surveillance/point',
    method: 'GET',
    params
  })
}

export function login (params) {
  return request2({
    url: '/wangneng/webs/login',
    method: 'POST',
    data: params
  })
}
